
age = 20
name = 'Swaroop'

print('{0} was {1} years old when he wrote this book'.format(name,age))
print('Why is {0} playing with that python?'.format(name))


print(name + ' is ' + str(age) + ' years old ')

print('{0:.5f}'.format(1.0/3))
print('{0:_^9}'.format('hello'))
print('{name} worote {book}'.format(name="Swaroop",book="A Byte of python!"))


print('what\\\'s your name?')
print('This is the first sentence. \ This is the secound sentence.')
print(r'Newlines are indicated by \n Hello')



i = 5
print(i)
i = i + 1
print(i)
s = ''' This is a multi-line string.
 This is the second line.'''
print(s)

